package com.yocard.yxyd.ui.contract;

import android.support.v4.app.Fragment;
import android.widget.RelativeLayout;
import android.widget.TextView;

import com.yocard.yxyd.base.BasePresenter;
import com.yocard.yxyd.base.BaseView;
import com.yocard.yxyd.http.model.response.UserInfoBean;
import com.yocard.yxyd.others.ClassicsHeader;

/**
 * Created on 2019/4/8.
 */
public interface MeContract {
    interface View extends BaseView {
        void onFetchUser(UserInfoBean userInfoBean);
    }

    interface Presenter extends BasePresenter<View> {
        void fetchUserData();
        void openWx(String wx);
        void showContact();
        void selectAvator(Fragment activity, int requestCode);
        void LayoutText(String status,TextView textView);
        void uploadAvator(String fileUrl);
        void showShare(String url, String platform);
        void setUpelasHead(RelativeLayout rlHeadLayout, ClassicsHeader classicsHeader);
    }
}
